package net.zjitc.mapper;

import net.zjitc.pojo.Cart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/4/18 8:44
 */
public interface CartMapper {
   List<Cart> findByUid(Integer id);
   int add(Cart cart);
   int delete(Integer id);
   Cart findByCart_now(@Param(value = "pid") String pid,
                       @Param(value = "uid") Integer uid);

   int updateNumber(Cart cart);
}
